package cate.common.table.camp;


import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import cate.common.table.d.GDCamp;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("阵营属性")
public class CampAttrBaseRow extends ERow {

    @NoteField("羁绊ID")
    public int tid;

    @NoteField("阵营")
    public byte camp;

    @NoteField("上阵英雄数")
    public int num;

    @NoteField("属性")
    public String attrStr;


    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.camp = xrw.getByte("阵营", GDCamp.Type.NULL);
        this.num = xrw.getInteger("上阵英雄数", 1);
        this.attrStr = xrw.getString("效果");
    }


    @Override
    public void decode() {
    }
}
